<%--
  Created by IntelliJ IDEA.
  User: 谢兴鑫
  Date: 2022/5/13
  Time: 上午 09:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
    <script type="text/javascript" src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
</head>
<body>
<table class="layui-table">
    <thead>
    <tr>
        <th>单据编号</th>
        <th>单据名称</th>
        <th>请假天数</th>
        <th>金额</th>
        <th>申请人</th>
        <th>申请时间</th>
        <th>审批状态</th>
        <th>申请说明</th>
        <th>查看批注</th>
        <th>办理进度</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${holidaystudentList}" var="t">
        <tr bgcolor="white">
            <td>${t.holidayId}</td>
            <td>
                <c:forEach items="${empList}" var="s">
                    <option value="${s.empId}">${s.empName}</option>
                </c:forEach>
            </td>
            <td>${t.holidayDay}</td>
            <td>${t.startTime}</td>
            <td>${t.endTime }</td>
            <td> ${t.title}</td>
            <td>
                <c:if test="${t.status==0}">未审批</c:if>
                <c:if test="${t.status==1}">审批中</c:if>
                <c:if test="${t.status==2}">审批通过</c:if>
                <c:if test="${t.status==3}">审批未通过</c:if>
            </td>
            <td>${t.remark }</td>
                <%--        <td><a href="${pageContext.request.contextPath }/holiday/lookComment?holidayId=${t.holidayId}">查看批注</a></td>--%>
                <%--        <td><a href="${pageContext.request.contextPath }/holiday/lookTaskImg?holidayId=${t.holidayId}">办理进度</a></td>--%>

        </tr>
    </c:forEach>
    </tbody>
</table>
</body>
</html>

